import { useFunction } from "../utils";

const [link, linkWithText] = useFunction("/node.js/");

export default [
  {
    text: "Node.js 基础",
    items: [
      linkWithText(),
      linkWithText("install"),
      linkWithText("npm"),
      linkWithText("child_process"),
    ],
  },
  {
    text: "Node.js 进阶",
    items: [linkWithText("database")],
  },
];
